﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DeviceState.Model
{
    public class CarStatus
    {
        public string Command { get; set; }
        public Data Data { get; set; }
    }
    public class Data
    {
        public List<ElevatorStatus> statusList { get; set; }
        public string timestamp { get; set; }
    }
    public class ElevatorStatus
    {
        public string deviceID { get; set; }
        public string carID { get; set; }
        public int physicalfloor { get; set; }
        public string displayfloor { get; set; }
        public string status { get; set; }
        public string doorStatus { get; set; }
        public int errorStatus { get; set; }
        public string errorMessage { get; set; }
        public int fireCtrlStatus { get; set; }
    }
}
